﻿namespace Api.DTO
{
    public class MenuDTO
    {
        public int Id {  get; set; }
        public string MenuName { get; set; }
        public string Url { get; set; }
        /// <summary>
        /// 父级菜单的id 顶级菜单是0
        /// </summary>
        public int PId { get; set; }
        public string ParentName {  get; set; }
        public string? CrearName { get; set; }
        public DateTime? CrearTime { get; set; } = DateTime.Now;
        public string? UpdateName { get; set; }
        public DateTime? UpdateTime { get; set; } = DateTime.Now;
    }
}
